package com.my.study.springframework.test.listener;

import com.my.study.springframework.context.ApplicationListener;
import com.my.study.springframework.test.MsgEvent;

/**
 * 衣服消息监听器
 *
 * @author: yidujun
 * @create: 2021/07/13 10:09
 */
public class DressMsgListener implements ApplicationListener<MsgEvent> {
    @Override
    public void onApplicationEvent(MsgEvent event) {
        System.out.println("--------衣服消息------");
        System.out.println(event);
    }
}
